package com.xhh.nphm.gaoxin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhh.nphm.common.annotation.DataSource;
import com.xhh.nphm.common.constant.Constants;
import com.xhh.nphm.gaoxin.entity.GxqTworkFormLogEty;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface GxqTelWFLogDao extends BaseMapper<GxqTworkFormLogEty> {
@Select("select logId,wfId,convert(varchar(19),LogTime,20) as opTime,opDeptName,opUserName,opAction,opDesc,wsOpen,wsDesc,LogId as myOP from tWorkFormLog where WfId=#{id} and IsDel=0  order by LogId")
    List<GxqTworkFormLogEty> logList(Integer id);
}
